<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>CSS样式初步</title>
    <link rel="stylesheet" type="text/css" href="../css/1.css"/>
    <style>
        /*
            这是CSS的注释
            CSS由选择器+属性+属性值组成
        */
        div {
            color: blue;
            font-size: 40px;
            /*width: 500px;*/
            /*height: 100px;*/
            border: 1px solid red;
        }
    </style>
</head>
<body>
<div style="color: yellow;
            font-size: 50px;
            width: 500px;
            height: 100px;
            border: 1px solid green;">div标签1
</div>
<div>div标签2</div>
<div>div标签3</div>
<span>span标签1</span>
<span>span标签2</span>
<span>span标签3</span>
</body>
</html>